package com.ztjy.purchase.dao;

import com.ztjy.bean.CType;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface CTypeDao {
    int deleteByPrimaryKey(Integer typeId);

    int insert(CType record);

    boolean insertSelective(CType record);

    CType selectByPrimaryKey(Integer typeId);

    List<CType> findAllCType(CType cType);

    boolean updateByPrimaryKeySelective(CType record);

    int updateByPrimaryKey(CType record);

    public List<CType> findCTypesByBId(Integer bid);


}